package com.sci.dto;

import com.sci.entity.Business;
import com.sci.entity.Orders;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO {
    private Orders orders;
    private List<OrderRowDTO> orderRows;
    private Double totalPrice;
    private Business business;
    // 新增降级标记
    private Boolean userServiceDegraded = false;   // 用户服务是否降级
    private Boolean businessServiceDegraded = false; // 商家服务是否降级
}
